home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / PATCH08 < prev    next >
Internet Message Format  |  1989-12-31  |  2KB

  1. Date: 10 Oct 89 12:30:30 MET (Tue)
  2. From: storm@texas.dk 
  3.  
  4. Patch file 1 of 1
  5.  
  6. This is patch #8 to nn release 6.3.
  7.  
  8. This patch redoes the fixes for the "long From: line bug" that was also
  9. fixed in patch 6, but unfortunately "reverted" by patch 7 to align it
  10. with the release 6.3.7 made available via anon-ftp before patch 6 was
  11. posted.  See also patchlevel.h.
  12.  
  13. ++Kim Storm
  14.  
  15. --------------------- CUT HERE ----------------------
  16. *** /usr/storm/nn6.3.7/patchlevel.h    Fri Sep  8 12:46:52 1989
  17. --- patchlevel.h    Fri Sep 15 19:05:47 1989
  18. ***************
  19. *** 15,21 ****
  20.    *    1989-08-22:  Patch 5: db.c
  21.    *    1989-08-25:  Patch 6: admin.c pack_date.c
  22.    *    1989-09-08:  Patch 7: several files
  23.    */
  24.   
  25. ! #define PATCHLEVEL 7
  26.   
  27. --- 15,34 ----
  28.    *    1989-08-22:  Patch 5: db.c
  29.    *    1989-08-25:  Patch 6: admin.c pack_date.c
  30.    *    1989-09-08:  Patch 7: several files
  31. +  *
  32. +  *    NOTICE: Release 6.3.7 was distributed for anon-ftp before patch 6
  33. +  *        was officially released on usenet.  Unfortunately, the
  34. +  *        patch posted as #6 is not the patch #6 indicated above,
  35. +  *        because the "Long From: line bug" fixed by the posted  
  36. +  *        patch #6 was still present in the 6.3.7 available via ftp.
  37. +  *
  38. +  *    Therefore, future patches relating to 6.3.7 will use the normal
  39. +  *    patch numbering scheme, while future patches to the originally
  40. +  *    posted nn will be numbered 61, 62, etc. (if any - which I don't 
  41. +  *    hope).
  42. +  *
  43. +  *    1989-09-15:  Patch 8: pack_name.c nntp.c
  44.    */
  45.   
  46. ! #define PATCHLEVEL 8
  47.   
  48.  
  49. *** /usr/storm/nn6.3.7/pack_name.c    Fri Sep  8 12:46:52 1989
  50. --- pack_name.c    Mon Sep 11 12:37:16 1989
  51. ***************
  52. *** 183,188 ****
  53. --- 183,189 ----
  54.       return 0;
  55.   
  56.       p = source, q = namebuf, n = 0;
  57. +     maxq = namebuf + sizeof namebuf - 1;
  58.       
  59.   new_partition:
  60.       for (i = SEP_MAXIMUM; --i >= 0; separator[i] = NULL);
  61. ***************
  62. *** 211,216 ****
  63. --- 212,218 ----
  64.           continue;
  65.       }
  66.       if (n > 1) continue;
  67. +     if (q >= maxq) break;
  68.       *q++ = c;
  69.       if (IS_SEPARATOR(c)) {
  70.           switch (sep = (Class[c] & 0xff)) {
  71.  
  72. *** /usr/storm/nn6.3.7/nntp.c    Fri Sep  8 12:46:51 1989
  73. --- nntp.c    Fri Sep 15 13:54:28 1989
  74. ***************
  75. *** 44,49 ****
  76. --- 44,51 ----
  77.   
  78.   import int errno, sys_nerr;
  79.   import char *sys_errlist[];
  80. + extern int user_error();
  81. + extern int sys_error();
  82.   
  83.   #define syserr() (errno >= 0 && errno < sys_nerr ? \
  84.             sys_errlist[errno] : "Unknown error.")
  85.  
  86.